﻿using PublicClass;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.Organization.Domian.dto
{
    /// <summary>
    /// 种母配种表
    /// </summary>
    [Table("Breeding")]
    public class Breeding : AuditFields
    {
        [Key]
        public int BreedId { get; set; }

        /// <summary>
        /// 耳号
        /// </summary>
        [StringLength(50)]
        public string? Earbugles { get; set; }

        /// <summary>
        /// 配种公羊
        /// </summary>
        [StringLength(50)]
        public string? ServiceRam { get; set; }

        /// <summary>
        /// 配种方式
        /// </summary>
        [StringLength(50)]
        public string? HybridizationType { get; set; }

        /// <summary>
        /// 种母发情类型
        /// </summary>
        [StringLength(50)]
        public string? SpeciesEstrusType { get; set; }

        /// <summary>
        /// 配种评分
        /// </summary>
        [StringLength(50)]
        public string? BreedingScore { get; set; }

        /// <summary>
        /// 当前栋舍
        /// </summary>
        [StringLength(50)]
        public string? CurrentBuilding { get; set; }


        /// <summary>
        /// 当前栏位
        /// </summary>
        [StringLength(50)]
        public string? CurrentField { get; set; }


        /// <summary>
        /// 转入栋舍
        /// </summary>
        [StringLength(50)]
        public string? OriginallyDorm { get; set; }


        /// <summary>
        /// 转入栏位
        /// </summary>
        [StringLength(50)]
        public string? OriginallyColumns { get; set; }


        /// <summary>
        /// 繁殖状态
        /// </summary>
        [StringLength(50)]
        public string? ReproductiveState { get; set; }

        /// <summary>
        /// 事件日期
        /// </summary>
        public DateTime EventDate { get; set; }

        /// <summary>
        /// 重量(公斤)
        /// </summary>
        public int? Weight { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        [StringLength(50)]
        public string? Head { get; set; }

        /// <summary>
        /// 配种日期
        /// </summary>
        public DateTime? BreedingDate { get; set; }

        /// <summary>
        /// 上一次配种日期
        /// </summary>
        public DateTime? LastDate { get; set; }

        /// <summary>
        /// 种母品种
        /// </summary>
        [StringLength(50)]
        public string? BreedinghenType { get; set; }

        /// <summary>
        /// 种公品种
        /// </summary>
        [StringLength(50)]
        public string? SeedmaleType { get; set; }
    }
}